IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[tb_country]') AND TYPE in (N'U'))
BEGIN
CREATE TABLE tb_country
(
    Id INT IDENTITY(1,1) NOT NULL,
    code varchar(10) default(''),
    name varchar(400) default(''),
    CreateBy VARCHAR(100),
    CreateDate DATETIME DEFAULT(GETDATE()),
    UpdateBy VARCHAR(100),
    UpdateDate DATETIME,
	CONSTRAINT PK_tb_country_Id PRIMARY KEY CLUSTERED (Id)
) 
END
GO
